package com.affectu;

import org.jboss.seam.annotations.Name;

import com.affectu.dao.DAOBase;

/*
 * 2008-8-29
 * @author daniel nathan
 */
@Name("preference")
public class Preference extends DAOBase {

	private String skin;

	public String getSkin() {
		Object obj = this.getSessionScope().get("org.richfaces.SKIN");
		if (obj == null) {
			skin = "blueSky";
		} else {
			skin = obj.toString();
		}
		return skin;
	}

	public void setSkin(String skin) {
		this.getSessionScope().put("org.richfaces.SKIN", skin);
	}

}
